/*
 * CategoryTreeInfoHolder.java
 * business
 *
 * Created by SunDing on 2016/9/9.
 *
 * Copyright (c) 2016年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.ui.widget.listview.viewholder;

import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.yidiandao.business.R;
import com.yidiandao.business.ui.widget.listview.ViewHolder;

/** 首页 分类 右边 分类内容 */
public class CategoryTreeInfoHolder extends ViewHolder {
    public LinearLayout mLlCategory1;
    public ImageView mIvLogo1;
    public TextView mTvName1;
    public LinearLayout mLlCategory2;
    public ImageView mIvLogo2;
    public TextView mTvName2;
    public LinearLayout mLlCategory3;
    public ImageView mIvLogo3;
    public TextView mTvName3;

    @Override
    protected void initView(View rootView) {

        mLlCategory1 = (LinearLayout) rootView.findViewById(R.id.ll_category1);
        mIvLogo1 = (ImageView) rootView.findViewById(R.id.iv_logo1);
        mTvName1 = (TextView) rootView.findViewById(R.id.tv_name1);
        mLlCategory2 = (LinearLayout) rootView.findViewById(R.id.ll_category2);
        mIvLogo2 = (ImageView) rootView.findViewById(R.id.iv_logo2);
        mTvName2 = (TextView) rootView.findViewById(R.id.tv_name2);
        mLlCategory3 = (LinearLayout) rootView.findViewById(R.id.ll_category3);
        mIvLogo3 = (ImageView) rootView.findViewById(R.id.iv_logo3);
        mTvName3 = (TextView) rootView.findViewById(R.id.tv_name3);
    }

    @Override
    protected int getItemLayoutId() {
        return R.layout.item_category_tree_info;
    }
}
